.html {
    font-family: "微软雅黑";
}

.bg {
    width: 100%;
    height: 680px;
    background-image: url(./img1/bg.jpg);
    background-size: cover;
    position: relative;
}

.nav-part {
    height: 80px;
    background-color: rgba(0, 0, 0, 0.7);
}

.nav-part ul {
    height: 80px;
    display: flex;
}

.nav-part ul a {
    color: white;
    font-size: 18px;
    font-weight: 700;
}

.nav-part ul li {
    width: 200px;
    text-align: center;
    line-height: 80px;
    position: relative;
}

.nav-part ul>li:hover {
    background-color: rgba(255, 255, 255, 0.1);
}


/*下拉菜单*/


/*鼠标遗入li让它的子元素出现*/

.nav-part ul>li:hover>ol {
    display: block;
}

.nav-part ol {
    background-color: rgba(0, 0, 0, 0.6);
    color: #fff;
    position: absolute;
    top: 80px;
    list-style: none;
    /*刚开始时需要隐藏*/
    display: none;
}

.nav-part ol>li {
    height: 30px;
    line-height: 30px;
}

.nav-part ol>li:hover {
    cursor: pointer;
    background-color: rosybrown;
}


/*精灵列表*/

.ball-part {
    width: 100%;
    position: absolute;
    bottom: 50px;
}

.ball-part ul {
    display: flex;
    justify-content: space-between;
}

.ball-part ul li {
    width: 150px;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 8px;
    text-align: center;
    padding: 20px 10px;
}

.ball-part ul li img {
    display: block;
    width: 50%;
    margin: 0 auto;
    border-radius: 50%;
    box-shadow: 3px 3px 5px #ddd;
}

.ball-part ul li a {
    display: inline-block;
    color: white;
    padding: 10px 0;
    /*加了内边距之后整个元素变大因此要收回来，用盒子模型的怪异模式*/
    box-sizing: border-box;
}